-- Copyright (c) 2024 Huawei Technologies Co., Ltd.
-- openUBMC is licensed under Mulan PSL v2.
-- You can use this software according to the terms and conditions of the Mulan PSL v2.
-- You may obtain a copy of Mulan PSL v2 at:
--          http://license.coscl.org.cn/MulanPSL2
-- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
-- EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
-- MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
-- See the Mulan PSL v2 for more details.
local validate = require 'mc.validate'
local utils = require 'mc.utils'
local create_enum_type = require 'mc.enum'

local def_types = {}

---@class def_types.TRANSFER_TYPE: Enum
local ETRANSFER_TYPE = create_enum_type('TRANSFER_TYPE')
ETRANSFER_TYPE.default = ETRANSFER_TYPE.new(2147483647)
ETRANSFER_TYPE.struct = nil
ETRANSFER_TYPE.NONE = ETRANSFER_TYPE.new(0)
ETRANSFER_TYPE.MCTP = ETRANSFER_TYPE.new(1)
ETRANSFER_TYPE.TCP = ETRANSFER_TYPE.new(2)

def_types.TRANSFER_TYPE = ETRANSFER_TYPE

return def_types
